package alp.starcode.framework.utils;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;

import java.util.List;

@ApiModel
public class Paging extends Page {
    @ApiModelProperty(value = "当前页码",name = "current",required = true,example = "1")
    private long current = 1;
    @ApiModelProperty(value = "分页条数",name = "size",required = true,example = "10")
    private long size = 10;
    @ApiParam(hidden = true)
    private List records;
    @ApiParam(hidden = true)
    private long total;
    @ApiParam(hidden = true)
    private boolean searchCount;
}
